/*
 * Copyright (c) 2006, 2023, webrx.cn All rights reserved.
 *
 */
package cn.webrx;

import java.util.Date;

/**
 * <p>Project: jse2302 - Arr1
 * <p>Powered by webrx On 2023-06-13 17:51:54
 * <p>Created by IntelliJ IDEA
 *
 * @author  webrx [webrx@126.com]
 * @version 1.0
 * @since 17
 */
public class Arr1 {
    public static void main(String...  args  ) {
        System.out.println(args);

        //数组对象的属性
        System.out.println(args.length);

        //打印输出程序的参数
        for(String p : args){
            System.out.println(p);
        }

        Date[] ds = new Date[10];

        int[] n1 = new int[5]; //0 1 2 3 4
        System.out.println(n1[4]);

        String[] aa = new String[100];
        System.out.println(aa[99]);

        Date[] dd = new Date[3];
        System.out.println(dd[2]);

        String[] bb = {"java","php","mysql","vue"};
        System.out.println(bb);
        System.out.println(bb[0]);
    }
}
